package org.dyk.seamanshousefrontdesk.repository;

import org.dyk.seamanshousefrontdesk.model.User;
import org.springframework.data.repository.CrudRepository;

public interface UserRepository extends CrudRepository<User,Integer> {
    //根据 主键 获取用户信息
    public User findByUid(int uid);

    //根据登录名查找用户
    public User findByUserLoginName(String loginName);
}
